package br.usp.ime.dojo.client;

import java.util.Set;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("ChatService")
public interface ChatService extends RemoteService {
	String checkNewMessages(String nome,String room);
	void sendMessage(String nome,String room, String message);
	public void registerUser(String user,String room);
	public Set<String> getUsers(String room);
	public void unregisterUser(String user,String room);
	public void createChatRoom(String room);
}
